// CodeGear C++Builder
// Copyright (c) 1995, 2015 by Embarcadero Technologies, Inc.
// All rights reserved

// (DO NOT EDIT: machine generated header) 'ocv.utils.pas' rev: 30.00 (Windows)

#ifndef Ocv_UtilsHPP
#define Ocv_UtilsHPP

#pragma delphiheader begin
#pragma option push
#pragma option -w-      // All warnings off
#pragma option -Vx      // Zero-length empty class member 
#pragma pack(push,8)
#include <System.hpp>
#include <SysInit.hpp>
#include <Winapi.Windows.hpp>
#include <Vcl.Graphics.hpp>
#include <ocv.core.types_c.hpp>

//-- user supplied -----------------------------------------------------------

namespace Ocv
{
namespace Utils
{
//-- forward type declarations -----------------------------------------------
typedef void *TStringAnsiHelper;

//-- type declarations -------------------------------------------------------
//-- var, const, procedure ---------------------------------------------------
extern DELPHI_PACKAGE Ocv::Core::Types_c::pIplImage __fastcall BitmapToIplImage(Vcl::Graphics::TBitmap* const bitmap);
extern DELPHI_PACKAGE Ocv::Core::Types_c::pIplImage __fastcall CropIplImage(const Ocv::Core::Types_c::pIplImage src, const Ocv::Core::Types_c::TCvRect &roi);
extern DELPHI_PACKAGE void * __fastcall ifthen(const bool Cond, const void * ValueTrue, const void * ValueFalse)/* overload */;
extern DELPHI_PACKAGE System::UnicodeString __fastcall ifthen(const bool Cond, const System::UnicodeString ValueTrue, const System::UnicodeString ValueFalse)/* overload */;
extern DELPHI_PACKAGE Ocv::Core::Types_c::TCvScalar __fastcall ifthen(const bool Cond, const Ocv::Core::Types_c::TCvScalar &ValueTrue, const Ocv::Core::Types_c::TCvScalar &ValueFalse)/* overload */;
extern DELPHI_PACKAGE HBITMAP __fastcall CreateRGBBitmap(Ocv::Core::Types_c::pIplImage _Grab);
extern DELPHI_PACKAGE void __fastcall ipDraw(const int x, const int y, const Ocv::Core::Types_c::pIplImage _Grab, const NativeUInt Wnd)/* overload */;
extern DELPHI_PACKAGE char * __fastcall c_str(const System::UnicodeString Text);
extern DELPHI_PACKAGE Ocv::Core::Types_c::TCvScalar __fastcall hsv2rgb(float hue);
extern DELPHI_PACKAGE void __fastcall IplImage2Bitmap(Ocv::Core::Types_c::pIplImage iplImg, Vcl::Graphics::TBitmap* &bitmap);
extern DELPHI_PACKAGE Vcl::Graphics::TBitmap* __fastcall cvImage2Bitmap(Ocv::Core::Types_c::pIplImage img);
extern DELPHI_PACKAGE bool __fastcall ipDraw(HDC dc, Ocv::Core::Types_c::pIplImage img, const System::Types::TRect &rect, const bool Stretch = true)/* overload */;
extern DELPHI_PACKAGE void __fastcall ocvHSVToRGB(const System::Byte _H, const System::Byte _S, const System::Byte _V, /* out */ System::Byte &_R, /* out */ System::Byte &_G, /* out */ System::Byte &_B);
extern DELPHI_PACKAGE void __fastcall ocvRGBToHSV(const System::Byte R, const System::Byte G, const System::Byte B, /* out */ System::Byte &_H, /* out */ System::Byte &_S, /* out */ System::Byte &_V);
}	/* namespace Utils */
}	/* namespace Ocv */
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_OCV_UTILS)
using namespace Ocv::Utils;
#endif
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_OCV)
using namespace Ocv;
#endif
#pragma pack(pop)
#pragma option pop

#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif	// Ocv_UtilsHPP
